﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001195 RID: 4501
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetSpringRecoverConfigScRsp : IMessage<SetSpringRecoverConfigScRsp>, IMessage, IEquatable<SetSpringRecoverConfigScRsp>, IDeepCloneable<SetSpringRecoverConfigScRsp>, IBufferMessage
	{
		// Token: 0x170038F0 RID: 14576
		// (get) Token: 0x0600C972 RID: 51570 RVA: 0x0021EE8B File Offset: 0x0021D08B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetSpringRecoverConfigScRsp> Parser
		{
			get
			{
				return SetSpringRecoverConfigScRsp._parser;
			}
		}

		// Token: 0x170038F1 RID: 14577
		// (get) Token: 0x0600C973 RID: 51571 RVA: 0x0021EE92 File Offset: 0x0021D092
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetSpringRecoverConfigScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038F2 RID: 14578
		// (get) Token: 0x0600C974 RID: 51572 RVA: 0x0021EEA4 File Offset: 0x0021D0A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetSpringRecoverConfigScRsp.Descriptor;
			}
		}

		// Token: 0x0600C975 RID: 51573 RVA: 0x0021EEAB File Offset: 0x0021D0AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigScRsp()
		{
		}

		// Token: 0x0600C976 RID: 51574 RVA: 0x0021EEB4 File Offset: 0x0021D0B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigScRsp(SetSpringRecoverConfigScRsp other) : this()
		{
			this.springRecoverConfig_ = ((other.springRecoverConfig_ != null) ? other.springRecoverConfig_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C977 RID: 51575 RVA: 0x0021EF00 File Offset: 0x0021D100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetSpringRecoverConfigScRsp Clone()
		{
			return new SetSpringRecoverConfigScRsp(this);
		}

		// Token: 0x170038F3 RID: 14579
		// (get) Token: 0x0600C978 RID: 51576 RVA: 0x0021EF08 File Offset: 0x0021D108
		// (set) Token: 0x0600C979 RID: 51577 RVA: 0x0021EF10 File Offset: 0x0021D110
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig SpringRecoverConfig
		{
			get
			{
				return this.springRecoverConfig_;
			}
			set
			{
				this.springRecoverConfig_ = value;
			}
		}

		// Token: 0x170038F4 RID: 14580
		// (get) Token: 0x0600C97A RID: 51578 RVA: 0x0021EF19 File Offset: 0x0021D119
		// (set) Token: 0x0600C97B RID: 51579 RVA: 0x0021EF21 File Offset: 0x0021D121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600C97C RID: 51580 RVA: 0x0021EF2A File Offset: 0x0021D12A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetSpringRecoverConfigScRsp);
		}

		// Token: 0x0600C97D RID: 51581 RVA: 0x0021EF38 File Offset: 0x0021D138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetSpringRecoverConfigScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.SpringRecoverConfig, other.SpringRecoverConfig) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C97E RID: 51582 RVA: 0x0021EF88 File Offset: 0x0021D188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.springRecoverConfig_ != null)
			{
				num ^= this.SpringRecoverConfig.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C97F RID: 51583 RVA: 0x0021EFDD File Offset: 0x0021D1DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C980 RID: 51584 RVA: 0x0021EFE5 File Offset: 0x0021D1E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C981 RID: 51585 RVA: 0x0021EFF0 File Offset: 0x0021D1F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.springRecoverConfig_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.SpringRecoverConfig);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C982 RID: 51586 RVA: 0x0021F04C File Offset: 0x0021D24C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.springRecoverConfig_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.SpringRecoverConfig);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C983 RID: 51587 RVA: 0x0021F0A4 File Offset: 0x0021D2A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetSpringRecoverConfigScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.springRecoverConfig_ != null)
			{
				if (this.springRecoverConfig_ == null)
				{
					this.SpringRecoverConfig = new SpringRecoverConfig();
				}
				this.SpringRecoverConfig.MergeFrom(other.SpringRecoverConfig);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C984 RID: 51588 RVA: 0x0021F10C File Offset: 0x0021D30C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C985 RID: 51589 RVA: 0x0021F118 File Offset: 0x0021D318
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.springRecoverConfig_ == null)
						{
							this.SpringRecoverConfig = new SpringRecoverConfig();
						}
						input.ReadMessage(this.SpringRecoverConfig);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040050DF RID: 20703
		private static readonly MessageParser<SetSpringRecoverConfigScRsp> _parser = new MessageParser<SetSpringRecoverConfigScRsp>(() => new SetSpringRecoverConfigScRsp());

		// Token: 0x040050E0 RID: 20704
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050E1 RID: 20705
		public const int SpringRecoverConfigFieldNumber = 13;

		// Token: 0x040050E2 RID: 20706
		private SpringRecoverConfig springRecoverConfig_;

		// Token: 0x040050E3 RID: 20707
		public const int RetcodeFieldNumber = 10;

		// Token: 0x040050E4 RID: 20708
		private uint retcode_;
	}
}
